<?php
/*
 * Created on 31.01.2006
 *
 */

class conf_filtersHandler
{

    function startElement (& $sender, $attrs)
    {
        if (!empty($attrs['filterPath']))
            $sender->appendCode('$filterchain = new phpinchains_FilterChain($env, '.$attrs['filterPath'].");\n");
        else
            $sender->appendCode('$filterchain = new phpinchains_FilterChain($env)'.";\n");
    }
    
    function endElement (& $sender)
    {
    }

} 

?>
